#include <init.h>
#include <window.h>
#include <shader.h>
#include <graphics.h>

int main() {
    GLFWwindow *window = initialize();
    unsigned int shaderProgram;
    setOnWindowSizeChanged(window, defaultOnWindowSizeChanged);
    shaderProgram = shaderInit("..\\shader\\vertex.txt", "..\\shader\\fragment.txt");
    shaderUse(shaderProgram);
    while (!glfwWindowShouldClose(window)) {
        drawGraphs(window);
        glfwPollEvents();
    }
    glfwTerminate();
    return 0;
}
